﻿namespace Simple.Repository.Models.Attendance
{
    [Index(nameof(CreateTime), IsUnique = false)]
    public class AttendanceRecordTemp : EntityBase<Guid>
    { /// <summary>
      /// 用户Id
      /// </summary>
        public Guid? UserId { get; set; }

        /// <summary>
        /// 打卡时间
        /// </summary>
        public DateTime AttendanceTime { get; set; }

        /// <summary>
        /// 考勤类型
        /// 1.员工考勤
        /// 2.幼儿考勤
        /// </summary>
        public int? AttendanceType { get; set; }

        /// <summary>
        /// 考勤组
        /// </summary>
        public Guid? AttendanceGroup { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        [MaxLength(100)]
        public string UserNumber { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
